/*
 * Created by LiuYou on 2020/11/26.
 *
 */

#include "PcImpl.hpp"

computer::PcImpl::PcImpl(int pcId, const std::string& pcFeature) : pcId(pcId), pcFeature(pcFeature) {}

int computer::PcImpl::getPcId() const {
    return pcId;
}

const std::string& computer::PcImpl::getPcFeature() const {
    return pcFeature;
}

std::ostream& computer::operator<<(std::ostream& os, const computer::PcImpl& pc) {
    os << "pcId: " << pc.pcId << " pcFeature: " << pc.pcFeature;
    return os;
}
